@layout("/backend/common/_container.html"){
<#Hidden id="officeMap" value="${officeMap}"/>
<#Hidden id="departMap" value="${departMap}"/>
<#Hidden id="statusMap" value="${statusMap}"/>
<#Hidden id="docMap" value="${docMap}"/>
<#Hidden id="entityMap" value="${entityMap}"/>
<#Hidden id="oneOffice" value="yes"/>
<#Hidden id="execUser" value="${execUser}"/>
<style>
    #RuleDic>div>div>label{vertical-align:baseline}
    #QryTitle table tr td{
        padding: 0px 10px 5px 0px;
    }
    #QryTitle table tr:first-child td{
        padding-top: 8px;
    }
    #winConfirmInfo table tr:first-child td{
        padding-top: 8px;
    }
    #winConfirmInfo table tr td{
        padding: 0px 10px 5px 0px;
    }
</style>
<div class="hisui-panel" fit="true" style="padding:10px;border:0px;">
    <div class="hisui-layout" data-options="fit:true">
        <div data-options="region:'north'" style="height:160px;border:0;padding:0;fit:true;">
            <div class="hisui-panel" id="QryTitle" fit="true" data-options="title:'门诊单病种查询',iconCls:'icon-search',headerCls:'panel-header-gray'" style="border-bottom:1px solid #ccc;border-radius:0;">
                <table cellspacing ="8px" style="padding:0px;border:0px;">
                    <tr style="margin-top:10px">
                        <td style="text-align:right">院区</td>
                        <td>
                            <input id="Hospital" class="hisui-combobox textbox" placeholder='院区'/>
                        </td>
                        <td style="text-align:right;width:80px">管理病种</td>
                        <td>
                            <input class="hisui-combobox textbox" id="QCDic" >
                        </td>
                        <td  style="text-align:right;width:80px">管理科室</td>
                        <td>
                            <input id="LocDic" class="hisui-combobox textbox">
                        </td>
                        <td style="text-align:right;width:80px">管理医生</td>
                        <td>
                            <input id="DocDic" class="hisui-combobox textbox">
                        </td>
                        <td style="width:100px">
                            <a id="search" class="hisui-linkbutton" data-options="stopAllEventOnDisabled:true">查询</a>
                        </td>
                    </tr>
                    <tr>
                        <td  style="text-align:right;width:80px">日期类型</td>
                        <td>
                            <input id="DateType" class="hisui-combobox textbox">
                        </td>
                        <td  style="text-align:right;width:80px">开始日期</td>
                        <td>
                            <input id="SDate" class="hisui-datebox textbox" data-options="required:true">
                        </td>
                        <td style="text-align:right;width:80px">结束日期</td>
                        <td>
                            <input id="EDate" class="hisui-datebox textbox" data-options="required:true">
                        </td>
                        <td style="text-align:right;width:80px">当前状态</td>
                        <td>
                            <input class="hisui-combobox textbox" id="Status" ></select>
                        </td>
                        <td>
                            <a id="Export"  class="hisui-linkbutton" data-options="iconCls:'icon-w-export',stopAllEventOnDisabled:true">导出</a>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;width:80px">登记号</td>
                        <td>
                            <input class="textbox" id="RegNo" placeholder="患者登记号"></select>
                        </td>
                        <td colspan=6></td>
                        <td>
                            <a id="updoAll" class="hisui-linkbutton" data-options="stopAllEventOnDisabled:true">上报</a>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div data-options="region:'center'" style="padding:0px;border:1px solid #ccc;border-radius:0 0 4px 4px;">
            <table style="padding:0" data-options="border:false" id="gridQCMrList"></table>
        </div>
    </div>
</div>
<div id="winConfirmInfo" class="hisui-dialog" style="width:500px;border:none;overflow:auto;padding:0;">
    <div style="padding:0;border:0px;" fit="true">
        <table cellspacing ="10px" style="padding:0px;border:0px;width:100%;">
            <tr id="divQCDic">
                <td style="text-align:right;">选择病种</td>
                <td style="width:400px;">
                    <input class="hisui-combobox textbox" style="width:300px" id="winQCDic" >
                </td>
            </tr >
            <tr >
                <td style="text-align:right;width:60px;">依据原因</td>
                <td >
                    <span id="RuleDic" style="width:100%"></span>
                </td>
            </tr>
            <tr >
                <td  style="text-align:right;width:60px;">其他备注</td>
                <td>
                    <textarea id="RuleResume" style="width:99%" class="textbox"></textarea>
                </td>
            </tr>
        </table>
        <div style="text-align:center">
            <a id="SaveRule" class="hisui-linkbutton" data-options="iconCls:'icon-w-save'">提交</a>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/backend/sds/sdsopqcincase/sdsopqcincase.js"></script>
<script src="${ctxPath}/static/backend/sds/sdsopqcincase/sdsopqcincaseoperlog.js"></script>
<script src="${ctxPath}/static/libs/hisui/plugin/datagrid-detailview.js"></script>
<script src="${ctxPath}/static/libs/hisui/plugin/datagrid-export.js"></script>
@}
